package com.nightpiter.view.graphics;

import com.nightpiter.view.graphics.abstaractions.AbstractRadialGradient;
import com.nightpiter.view.graphics.factories.RadialGradientFactory;

public class RadialGradient extends Shader implements AbstractRadialGradient {

//	public RadialGradient(AbstractRadialGradient delegate) {
//		setDelegate(delegate);
//	}

	public RadialGradient(float x, float y, float radius, int color0, int color1) {
		setDelegate(RadialGradientFactory.getFactory().create(x, y, radius,
				color0, color1));
	}

	public RadialGradient(PointF pointF, float radius, int color0, int color1) {
		setDelegate(RadialGradientFactory.getFactory().create(pointF.x,
				pointF.y, radius, color0, color1));
	}

}
